<?  if (empty($currentSection)) $currentSection=null ?>
<?
    require(sfConfig::get('sf_plugins_dir')."/bertaTwigPlugin/lib/dirtyRequire.php");
    $entryTemplate = $twig->loadTemplate("entries.html");
    $entryTemplate->display(
        array(
            "currentSection"    =>  $currentSection,
            "currentTag"        =>  $currentTag,
            "entries"           =>  $entries,
            "settings"          =>  $settings,
            "templateSettings"  =>  $templateSettings,
            "widgets"           =>  $widgets,
            "application"       =>  $application,
        )
    );
